import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

Vue.directive('bColor', {
    inserted: function (el, data) {
        el.style.backgroundColor = data.value
    },
    update: function (el, data) {
        el.style.backgroundColor = data.value
    }
})

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
